import actions from './actions.js';
import mutations from './mutations.js';
import getters from './getters.js';

const state = {
  userId: 0,
  info: {
    id: 0,
    realname: '',
    introduction: '',
    avatar: 'https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif',
    roles: [],
  },
  authorId: 0,
}

const states = {
  namespaced: true,
  state,
  actions,
  mutations,
  getters
}

export default states;
